package membermodel

// 充值面额设定表

type MemberBalanceMoneyModel struct {
	MemberBalanceMoneyDb
	Common
}
type MemberBalanceMoneyDb struct {
	Id        int   `gorm:"column:id" json:"id"`
	Balance   int   `gorm:"column:balance" json:"balance"`
	GiveMoney int   `gorm:"column:give_money" json:"giveMoney"`
	Status    uint8 `gorm:"column:status" json:"status"`
}

func NewMemberBalanceMoney() *MemberBalanceMoneyDb {
	return &MemberBalanceMoneyDb{}
}

func (m *MemberBalanceMoneyDb) TableName() string {
	return "member_balance_money"
}
